#include <iostream>
#include <string>

class MyString:public std::string
{
public:
    MyString(const char* s):std::string(s){}
};

int main()
{
    MyString s = "hello";
    s += "world";
    std::cout<<s<<std::endl;
    return 0;
}